// 放置所有的请求接口

const url = 'http://localhost:8082'

export const urls = class  {
    static m(){
        // 登录接口
        const login = `${url}/user/login`
        const insert = `${url}/user/insert`
        const getAllForm = `${url}/files/getAll`
        const reset = `${url}/user/reset`
        const addInfo = `${url}/user/addInfo`
        const getOwnAll = `${url}/files/getOwnAll`
        const getPrepare = `${url}/files/getPrepare`
        const check = `${url}/files/check`
        const getChargeInfo = `${url}/charge/getAll`
        const getAllStationCharge = `${url}/charge/getAllStation`
        return {
            login,insert,getAllForm,reset,addInfo,getOwnAll,getPrepare,check,getChargeInfo,getAllStationCharge
        }
    }
}